package com.wenx.config;


import com.wenx.Person;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MainConfig {

    @Bean
    public Person person() {
        return new Person("wenx",20);
    }

}
